package com.fifth.apartment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("检查项")
@TableName("administrators")
public class Administrators {

    @ApiModelProperty("管理员账户")
    @TableField("administrators_account")
    private String administratorsAccount;
    @ApiModelProperty("密码")
    @TableField("administrators_pwd")
    private String administratorsPwd;
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private  Integer id;
    @ApiModelProperty("姓名")
    @TableField("administrators_name")
    private String administratorsName;
    @ApiModelProperty("性别")
    @TableField("administrators_sex")
    private String administratorsSex;
    @ApiModelProperty("年龄")
    @TableField("administrators_age")
    private  Integer administratorsAge;
    @ApiModelProperty("电话")
    @TableField("administrators_telephone")
    private String administratorsTelephone;
    @ApiModelProperty("头像")
    @TableField("administrators_image")
    private String administratorsImage;
    @ApiModelProperty("权限")
    @TableField("power")
    private Integer power;
}